package com.zhuss.enums;

import java.util.List;

public enum ProductType implements BaseEnum {
	
	特价外卖(10, "特价外卖"),
	点炒服务(20, "点炒服务"),
	一周菜单(30, "一周菜单"),
	公务接待(40, "公务接待"),
	;
	
	Integer key;
	
	String value;
	
	ProductType(Integer key, String value) {
		this.key = key;
		this.value = value;
	}

	public Boolean sameKey(Integer key) {
		return this.key.equals(key);
	}

	public Integer key() {
		return key;
	}

	public String value() {
		return value;
	}
	
	public String data() {
		return value;
	}

	@Override
	public String tag() {
		return value;
	}
	
	@Override
	public List<Integer> removeIdList() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	@Override
	public Boolean sameValue(String value) {
		return this.value.equals(value);
	}

}
